#pragma once
#include "Renderer.h"

namespace GL
{
    class PlaneRenderer : public Renderer
    {
    public:
        PlaneRenderer();
        PlaneRenderer(ObjectData &data, unsigned int indexes[], const std::string &shaderSource);
        ~PlaneRenderer();
        virtual void Awake(ObjectData &data) override;
        virtual void Start() override;

        virtual void CreateVertexBuffer(float vertexs[]) override;

        virtual void CreateIndexesBuffer(unsigned int indexes[]) override;
        virtual void Render() override;
        virtual void SetTexture(std::string ImageUrl) override;

    private:
        float vertexs[32];
    };
}